package com.free.files;

import com.free.common.vo.ResultModel;
import com.free.exception.SystemException;

/**
 * 文件处理
 */
public interface IFiler {

    ResultModel upload(byte[] content, String serverPath) throws SystemException;

    ResultModel upload(String localPath, String serverPath) throws SystemException;

    ResultModel downLoad(String serverPath) throws SystemException;

    ResultModel downLoad(String serverPath, String localPath) throws SystemException;

}
